; kernel_entry.asm - 内核高地址入口
org 0xC0010000

bits 32
section .text
global _start
_start:
    mov esi, welcome
    call print

hang: jmp hang

print:                 ; 屏幕打印（直接写显存）
    mov edi, 0xB8000
.next:
    lodsb
    or al, al
    jz .done
    mov ah, 0x0F
    stosw
    jmp .next
.done:
    ret

welcome db "Hello from high address kernel!", 0